/* eslint-disable  @typescript-eslint/no-unused-vars */
import { Fn } from '/#/index';
import { ButtonProps } from 'ant-design-vue';

export interface BasicTableProps<T = any> {
  api?: (...arg: any) => Promise<any>;
  columns: any[];
  usePagination: boolean;
  useSearchForm: boolean;
  immediate: boolean;
  formConfig: object;
  actionColumns: any[];
  loading?: boolean;
  submitButtonOptions?: Partial<ButtonProps>;
  handleSearchInfoFn?: Fn;
  onChange?: (pagination: any, filters: any, sorter: any, extra: any) => void;
  params: object;
}
